// Machine generated IDispatch wrapper class(es) created with ClassWizard

#include "stdafx.h"
#include "iauthority.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif



/////////////////////////////////////////////////////////////////////////////
// IAuthority properties

/////////////////////////////////////////////////////////////////////////////
// IAuthority operations

long IAuthority::SetRole(LPCTSTR bstrRoleName, LPCTSTR bstrAdmittanceRadiusIPs)
{
	long result;
	static BYTE parms[] =
		VTS_BSTR VTS_BSTR;
	InvokeHelper(0x1, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
		bstrRoleName, bstrAdmittanceRadiusIPs);
	return result;
}

long IAuthority::DeleteRole(LPCTSTR bstrRoleName)
{
	long result;
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x2, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
		bstrRoleName);
	return result;
}

long IAuthority::GetRoles(BSTR* pbstrRoles)
{
	long result;
	static BYTE parms[] =
		VTS_PBSTR;
	InvokeHelper(0x3, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
		pbstrRoles);
	return result;
}
